package com.vrp3d.common.exceptions;

import com.vrp3d.common.enums.UserExceptionEnum;

/**
 * 用户相关异常信息类
 *
 * @author vrp3d
 */
public class UserException extends BusinessException {

    private static String model = "_User";

    public UserException(UserExceptionEnum userExceptionEnum) {
        super(userExceptionEnum.getCode(), userExceptionEnum.getMsg(), model);
    }

    public UserException(String code, String message) {
        super(code, message);
    }
}
